package org.whh.auth.mapper;



import org.apache.ibatis.annotations.Mapper;
import org.springframework.beans.factory.annotation.Qualifier;
import org.whh.auth.domain.Permission;
import org.whh.base.mapper.BaseMapper;

import java.util.List;
@Qualifier("per")
public interface PermissionMapper extends BaseMapper<Permission> {
    void batchInsert(List<Permission> permissions);

    void removeAll();

    List<String> selectPermissonsByEmployeeId(Long id);


    List<Permission> getPermissionTree();

    List<String> getPermissionSns();
}
